import Layout from '@/layout'
export default {
  path: '/goods',
  component: Layout,
  redirect: '/goods/goods',
  meta: { title: '商品管理', icon: 'el-icon-s-goods' },
  children: [
    {
      path: 'goods',
      name: 'Goods',
      component: () => import('@/views/goods/index'),
      meta: { title: '商品列表', icon: 'table' }
    },
    {
      path: 'params',
      name: 'Params',
      component: () => import('@/views/params/index'),
      meta: { title: '分类参数', icon: 'table' }
    },
    {
      path: 'categories',
      name: 'Categories',
      component: () => import('@/views/categories/index'),
      meta: { title: '商品分类', icon: 'table' }
    }
  ]
}
